﻿<%@ Control Language="C#" ClassName="AbAccountCodeFields" %>
<asp:FormView ID="FormView1" runat="server">
    <ItemTemplate>
        <table border="0" cellpadding="3" cellspacing="1">
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataKindPment" runat="server" Text="Kind Pment:" AssociatedControlID="dataKindPment" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataKindPment" Text='<%# Bind("KindPment") %>' MaxLength="6"></asp:TextBox><asp:RequiredFieldValidator
                        ID="ReqVal_dataKindPment" runat="server" Display="Dynamic" ControlToValidate="dataKindPment"
                        ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataAccDeb" runat="server" Text="Acc Deb:" AssociatedControlID="dataAccDeb" />
                    
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataAccDeb" Text='<%# Bind("AccDeb") %>' MaxLength="50"></asp:TextBox>
                    <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator1" runat="server" Display="Dynamic" ControlToValidate="dataAccDeb"
                        ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataAccName" runat="server" Text="Acc Name:" AssociatedControlID="dataAccName" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataAccName" Text='<%# Bind("AccName") %>' MaxLength="50">
                    </asp:TextBox>
                    <asp:RequiredFieldValidator runat="server" ID="rfv_AccName" ControlToValidate="dataAccName"
                        ErrorMessage="Required" />
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataAccCreMed" runat="server" Text="Acc Cre Med:" AssociatedControlID="dataAccCreMed" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataAccCreMed" Text='<%# Bind("AccCreMed") %>' MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataAccCreServ" runat="server" Text="Acc Cre Serv:" AssociatedControlID="dataAccCreServ" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataAccCreServ" Text='<%# Bind("AccCreServ") %>'
                        MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataAccCreDrug" runat="server" Text="Acc Cre Drug:" AssociatedControlID="dataAccCreDrug" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataAccCreDrug" Text='<%# Bind("AccCreDrug") %>'
                        MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataAccCreDisp" runat="server" Text="Acc Cre Disp:" AssociatedControlID="dataAccCreDisp" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataAccCreDisp" Text='<%# Bind("AccCreDisp") %>'
                        MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT0Code" runat="server" Text="T0:" AssociatedControlID="dataT0Code" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT0Code" Text='<%# Bind("T0Code") %>' MaxLength="10"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT1" runat="server" Text="T1:" AssociatedControlID="dataT1" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT1" Text='<%# Bind("T1") %>' MaxLength="10"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT2" runat="server" Text="T2:" AssociatedControlID="dataT2" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT2" Text='<%# Bind("T2") %>' MaxLength="10"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT3" runat="server" Text="T3:" AssociatedControlID="dataT3" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT3" Text='<%# Bind("T3") %>' MaxLength="10"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT4Code" runat="server" Text="T4:" AssociatedControlID="dataT4Code" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT4Code" Text='<%# Bind("T4Code") %>' MaxLength="10"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT5" runat="server" Text="T5:" AssociatedControlID="dataT5" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT5" Text='<%# Bind("T5") %>' MaxLength="10"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataKindPmentDesc" runat="server" Text="Kind Pment Desc:" AssociatedControlID="dataKindPmentDesc" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataKindPmentDesc" Text='<%# Bind("KindPmentDesc") %>'
                        MaxLength="11"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataCompanyAddress" runat="server" Text="Company Address:" AssociatedControlID="dataCompanyAddress" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataCompanyAddress" Text='<%# Bind("CompanyAddress") %>'
                        MaxLength="250" TextMode="MultiLine" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataAttention" runat="server" Text="Attention:" AssociatedControlID="dataAttention" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataAttention" Text='<%# Bind("Attention") %>' MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataCheckVersion" runat="server" Text="Check Version:" AssociatedControlID="dataCheckVersion" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataCheckVersion" Text='<%# Bind("CheckVersion") %>'
                        MaxLength="1"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataCheckVersion"
                            runat="server" Display="Dynamic" ControlToValidate="dataCheckVersion" ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:FormView>
